package com.jinke.api.common.annotation;

import java.lang.annotation.*;

/**
 * @projectName:
 * @title: OrderApiIdempotence
 * @description: 订单幂等
 * @see:
 * @author: hhp
 * @version: 1.0.0
 * @createTime: 2024/8/6 15:04
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface OrderApiIdempotence {
    long expireTime() default 10; // 单位秒 默认10秒内不可重复调用
}
